#ifndef FREQUENCE_DECODE_H
#define FREQUENCE_DECODE_H
#include "common.h"

typedef struct
{
	UINT16 u16Frequency; 
	UINT16 u16_10ms_EdgeNumCnt;
	UINT16 u16_100ms_EdgeNumCnt;
	UINT16 u16EdgeCntArr[10];
	UINT8 u8EdgeCntIndex;
}structFrequencyDecode;
extern structFrequencyDecode stFrequencyDecodeEgine;

extern void vFreqDecodeProc(void);
extern void vFreqDecodeIntterruptCallBack(void);

#endif
